﻿using K3WiseApi.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace K3WiseApi
{
    /// <summary>
    /// 外购入库单
    /// </summary>
    public class Purchase_Receipt
    {
        private ApiClient apiClient;


        static string uri = "Purchase_Receipt";

        public Purchase_Receipt(ApiClient apiClient)
        {
            this.apiClient = apiClient;
        }

        public Purchase_ReceiptSaveOutputDto Save(Purchase_ReceiptSaveInputDto purchase_ReceiptSaveInputDto)
        {
            string saveUri = uri + "/Save";
            return this.apiClient.HttpPost<Purchase_ReceiptSaveOutputDto>(uri, purchase_ReceiptSaveInputDto);
        }
    }
}
